package com.example.science;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication

@MapperScan("com.example.science.dao")
//声名式事务
@EnableTransactionManagement
public class ScienceApplication {

    public static void main(String[] args) {
        SpringApplication.run(ScienceApplication.class, args);
    }

}
